package com.woniuxy.common.service;

import com.woniuxy.response.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "finance",path = "/businessCompetitor",contextId = "finance2")
public interface FeignBusinessCompetitorService {
    /**
     * 根据id获取邮箱
     */
    @GetMapping("/getEmailById/{id}")
    public ResponseResult<String> getEmailById(@PathVariable("id") Integer id);
}
